from django.db import models

# Create your models here.
from utils.basemodel import BaseModel
from user.models import UserModel
from course.models import CourseModel
class CartModel(BaseModel):
    user=models.ForeignKey(to=UserModel,on_delete=models.CASCADE)
    course=models.ForeignKey(to=CourseModel,on_delete=models.CASCADE)
    select=models.BooleanField(default=True)
    class Meta:
        db_table='fgcart'